﻿using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

namespace WebApplication1.Classes
{
    class Client
    {
        public Client(int a, int c, string d, int e, string g, string h, int i, string j)
        {
            this.id = a;
            
            this.passportSerial = c;
            this.birth = d;
            this.passportNumber = e;
            this.name = g;
            this.surname = h;
            this.phone = i;
            this.email = j;
        }
        private int id;
        
        private int passportSerial;
        private string birth;
        private int passportNumber;
        private string name;
        private string surname;
        private int phone;
        private string email;

        public int Id
        {
            get { return id; }
            set { id = value; }
        }

       
        public int PassportSerial
        {
            get { return passportSerial; }
            set { passportSerial = value; }
        }
        public string Birth
        {
            get { return birth; }
            set { birth = value; }
        }
        public int PassportNumber
        {
            get { return passportNumber; }
            set { passportNumber = value; }
        }
        public string Name
        {
            get { return name; }
            set { name = value; }
        }

        public string Surname
        {
            get { return surname; }
            set { surname = value; }
        }
        public int Phone
        {
            get { return phone; }
            set { phone = value; }
        }
        public string Email
        {
            get { return email; }
            set { email = value; }
        }


    }
}
